package cn.btks.resultintegration.rule.service.impl;

import cn.btks.resultintegration.rule.pojo.EIASecondCategory;
import cn.btks.resultintegration.rule.repository.EIASecondCategoryRepository;
import cn.btks.resultintegration.rule.service.EIASecondCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lijun
 * @Date 2021/2/23 10:21
 */
@Service
public class EIASecondCategoryServiceImpl implements EIASecondCategoryService {

    @Autowired
    EIASecondCategoryRepository eiaSecondCategoryRepository;

    @Override
    public List<EIASecondCategory> findAllByEiaCategoryId(Long eiaCategoryId) {
        return eiaSecondCategoryRepository.findAllByEiaCategoryId(eiaCategoryId);
    }
}
